package com.sevenyear.excelanalyze.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sevenyear.excelanalyze.entity.PartitionBaseInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sevenyear.excelanalyze.entity.RainfallInfiltrationRate;
import com.sevenyear.excelanalyze.entity.param.queryConditionParam.PartitionBaseInfoQueryCondition;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 分区基本信息 服务类
 * </p>
 *
 * @author sevenyear
 * @since 2021-08-20
 */
public interface PartitionBaseInfoService extends IService<PartitionBaseInfo> {

    /**
     * Excel批量插入分区基本信息
     *
     * @param file
     * @param partitionBaseInfoService
     */
    void insertPartitionByExcel(MultipartFile file, PartitionBaseInfoService partitionBaseInfoService);


    /**
     * 条件带分页查询分区基本信息
     *
     * @param pagePartition
     * @param partitionBaseInfoQueryCondition
     */
    void queryPageByCondition(Page<PartitionBaseInfo> pagePartition, PartitionBaseInfoQueryCondition partitionBaseInfoQueryCondition);

    /**
     * 查询所有地貌信息
     * @return
     */
    List<PartitionBaseInfo> queryAllLandform();


    /**
     * 查询所有粘土厚度信息
     * @return
     */
    List<PartitionBaseInfo> queryAllClayThickness();

}
